<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Demo</title>
    <style>
        *{
            margin:0;
            padding:0;
        }
        .block{
            width:200px;
            height:200px;
            background:red;
            position:absolute;
        }
    </style>
</head>
<body>

<div id="block" class="block"></div>

<script src="/dist/pan.js"></script>
</body>
</html>